]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
st/scroll-view: Remove container foreach vfunc
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
Wed, 2 Oct 2019 20:41:04 +0000 (22:41 +0200)
committerFlorian Müllner <florian.muellner@gmail.com>
Mon, 14 Oct 2019 14:57:49 +0000 (14:57 +0000)
foreach_with_internals vfunc is deprecated for long time and not used
anymore, so remove it

Related to: https://gitlab.gnome.org/GNOME/mutter/merge_requests/816

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/747

src/st/st-scroll-view.c

index 72f8900bea569b02e04e9fe1ee9ac95d46b740df..7f7d4f51c7088a658aad2dc178cc63af8dd8c23d 100644 (file)
@@ -963,23 +963,6 @@ st_scroll_view_remove (ClutterContainer *container,
     }
 }
 
-static void
-st_scroll_view_foreach_with_internals (ClutterContainer *container,
-                                       ClutterCallback   callback,
-                                       gpointer          user_data)
-{
-  StScrollViewPrivate *priv = ST_SCROLL_VIEW (container)->priv;
-
-  if (priv->child != NULL)
-    callback (priv->child, user_data);
-
-  if (priv->hscroll != NULL)
-    callback (priv->hscroll, user_data);
-
-  if (priv->vscroll != NULL)
-    callback (priv->vscroll, user_data);
-}
-
 static void
 clutter_container_iface_init (ClutterContainerIface *iface)
 {
@@ -991,7 +974,6 @@ clutter_container_iface_init (ClutterContainerIface *iface)
 
   iface->add = st_scroll_view_add;
   iface->remove = st_scroll_view_remove;
-  iface->foreach_with_internals = st_scroll_view_foreach_with_internals;
 }
 
 StWidget *